package org.person.gift.mapper;

import org.apache.ibatis.annotations.Param;
import org.person.gift.domain.GoodsSpu;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * spu表 Mapper 接口
 * </p>
 *
 * @author MaxPeng
 * @since 2024-02-15
 */
public interface GoodsSpuMapper extends BaseMapper<GoodsSpu> {

    void onsale(@Param("spuNos") List<Long> spuNos, @Param("state")long state);

    void offsale(@Param("offsaleIds")List<Long> offsaleIds, @Param("state")long state);
}
